package com.tjec.project.system.domain;

import com.tjec.framework.aspectj.lang.annotation.Excel;
import com.tjec.framework.web.domain.BaseEntity;
import com.tjec.project.system.domain.vo.BmsAttachmentVo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 任务模板对象 bms_md_task_template
 * 
 * @author tjec
 * @date 2020-04-09
 */
public class BmsMdTaskTemplate extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id 主键 */
    private String id;

    /**
     * guid
     */
    private String guid;


    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 附件 */
    @Excel(name = "附件")
    private String attachmentId;

    /**
     * 附件列表
     */
    private List<BmsAttachmentVo> attachmentList;

    /**
     * 业务类别id
     */

    private String businessCategoryId;

    /**
     * 业务类别ids
     */

    private List<String> businessCategoryIds;
    /**
     * 业务类别list
     */
    private List<BmsMdBusinessCategory> businessCategoryList;

    /** 业务类别名称 */
    @Excel(name = "业务类别")
    private String businessCategoryName;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setTemplateName(String templateName) 
    {
        this.templateName = templateName;
    }

    public String getGuid() {
        return guid;
    }

    public void setGuid(String guid) {
        this.guid = guid;
    }

    public String getTemplateName()
    {
        return templateName;
    }
    public void setAttachmentId(String attachmentId) 
    {
        this.attachmentId = attachmentId;
    }

    public String getAttachmentId() 
    {
        return attachmentId;
    }

    public List<BmsAttachmentVo> getAttachmentList() {
        return attachmentList;
    }

    public void setAttachmentList(List<BmsAttachmentVo> attachmentList) {
        this.attachmentList = attachmentList;
    }

    public String getBusinessCategoryId() {
        return businessCategoryId;
    }

    public void setBusinessCategoryId(String businessCategoryId) {
        this.businessCategoryId = businessCategoryId;
    }

    public List<String> getBusinessCategoryIds() {
        return businessCategoryIds;
    }

    public void setBusinessCategoryIds(List<String> businessCategoryIds) {
        this.businessCategoryIds = businessCategoryIds;
    }

    public List<BmsMdBusinessCategory> getBusinessCategoryList() {
        return businessCategoryList;
    }

    public void setBusinessCategoryList(List<BmsMdBusinessCategory> businessCategoryList) {
        this.businessCategoryList = businessCategoryList;
    }

    public String getBusinessCategoryName() {
        return businessCategoryName;
    }

    public void setBusinessCategoryName(String businessCategoryName) {
        this.businessCategoryName = businessCategoryName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("guid", getGuid())
                .append("templateName", getTemplateName())
                .append("attachmentId", getAttachmentId())
                .append("businessCategoryId", getBusinessCategoryId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
